package edu.zut.hb.ambition.inoutpatienttype.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import edu.zut.hb.ambition.base.domain.Column;

import edu.zut.hb.ambition.base.domain.BaseEntity;
public class Inoutpatienttype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @Column(name = "inoutpatientid")
    private String inoutpatientid;

    @Column(name = "projectname")
    private String projectname;


    @Column(name = "unit")
    private String unit;


    @Column(name = "bigproject")
    private String bigproject;

    @Column(name = "price")
    private BigDecimal price;

    public void setInoutpatientid(Long inoutpatientid) 
    {
        this.inoutpatientid = inoutpatientid;
    }

    public Long getInoutpatientid() 
    {
        return inoutpatientid;
    }
    public void setProjectname(String projectname) 
    {
        this.projectname = projectname;
    }

    public String getProjectname() 
    {
        return projectname;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setBigproject(String bigproject) 
    {
        this.bigproject = bigproject;
    }

    public String getBigproject() 
    {
        return bigproject;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inoutpatientid", getInoutpatientid())
            .append("projectname", getProjectname())
            .append("unit", getUnit())
            .append("bigproject", getBigproject())
            .append("price", getPrice())
            .toString();
    }
}
